const { Schema, model} = require('mongoose');
// 1.设置集合结构
const subjectsSchema = new Schema({
  name: String,
},{versionKey:false});
//2.设置数据模型，同时连接数据集合
module.exports.subjectsModel = model('subjectsModel',subjectsSchema,'subjects');